package com.cx.mapper;

import com.cx.pojo.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<String> getAuthorities(long id);

    List<Menu> getMenuByUserId(long id);

    @Select("select * from menu")
    List<Menu> getMenus();

}
